import { http } from '@/utils/http'
export const getCategoryList = (data) => {
    return http({
        url: '/system/article/get_by_category/',
        method: 'GET',
        data: data,
    })
}

// 获取文章列表数据
export function getArticleList(data) {
    return http({
        url: '/system/article/',
        method: 'GET',
        data: data,
    })
}

// 获取 轮播图信息
export function getBanner(data) {
    return http({
        url: '/system/carousel/',
        method: 'GET',
        data: data
    })
}